<script type="text/html" data-help-name="Device Shell">
    <p> 外访Shell节点：用于执行连接到量产机上的设备内部Shell命令的节点</p>
</script>
  
  
<script type="text/html" data-template-name="Device Shell">
  <!-- Name -->
  <div class="form-row">
    <label for="node-input-name"><i class="fa fa-tag"></i> 名称</label>
    <input type="text" id="node-input-name" data-i18n="[placeholder]name">
  </div>

  <div class="form-row">
    <label for="node-input-IP_Port"><i class="fa fa-tag"></i> IP:Port</label>
    <input type="text" id="node-input-IP_Port" >
  </div>
  
  <div class="form-row">
    <label for="node-input-identity"><i class="fa fa-tag"></i> 身份认证</label>
    <input type="text" id="node-input-identity">
  </div>

  <div class="form-row">
    <label for="node-input-cmd"><i class="fa fa-tag"></i> 命令</label>
    <input type="text" id="node-input-cmd">
  </div>

  </script>
  
  
  <script type="text/javascript">
      RED.nodes.registerType('Device Shell',{
        category: 'Block 通用节点',
        color: '#35c1f4',
        defaults: {
          name: {value:""},
          IP_Port: {value:"", required: true},
          identity: {value:""},
          cmd: {value:""},
        },
        inputs:1,
        outputs:1,
        icon: "white-globe.svg",
        label: function() {
          return this.name||this._("执行特定设备的内置shell命令");
        },

      });
    </script>
    
